package com.ymk.service;

import com.ymk.pojo.TravelGroup;
import com.ymk.pojo.TravelItem;
import com.ymk.vo.PageResult;

import java.util.List;

public interface TravelGroupService {

    void add(TravelGroup travelGroup, Integer[] travelItemIds);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    List<Integer> findTravelItemByTravelGroupId(Integer id);

    TravelGroup findById(Integer id);

    void edit(Integer[] traveltemIds, TravelGroup travelGroup);

    void delete(Integer id);

    List<TravelGroup> findAll();
}
